package com.xuyu.ddd.aggregate.core.annotation;

import java.lang.annotation.*;

@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Persistence {

    /**
     * 使用那个repo持久化, 基于mybatis plus实现
     */
    Class<?> repo();
}
